powered by
gcd computes and returns the greatest common divisor of two vli (Very Large Integers) objects.
gcd
gcd(x, y)# S3 method for default gcd(x, y)# S3 method for numeric gcd(x, y)# S3 method for vli gcd(x, y)
# S3 method for default gcd(x, y)
# S3 method for numeric gcd(x, y)
# S3 method for vli gcd(x, y)
object of class vli
object of class vli or 32 bits integer
Javier Leiva Cuadrado
x <- as.vli("1225312091263347514461245") y <- as.vli("357590484262521") gcd(x, y)
Run the code above in your browser using DataLab